package top.oauth2.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.oauth2.entity.security.User;

import java.util.ArrayList;

/**
 * @author xphu
 * @version 1.0
 * @date 2021/8/27 15:48
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    /**
     * 批量插入
     * @param users 集合
     */
    void insertBatchSomeColumn(@Param("list") ArrayList<User> users);
}
